<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="_fragment::head(~{::title})">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>分类新增</title>
</head>

<body class="no-skin">

<!--导航部分-->
<div th:replace="_fragment :: nav"></div>

<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <!--侧边栏-->
    <div th:replace="_fragment :: menu(3,3.2)"></div>

    <div class="main-content" >
        <div class="breadcrumbs" id="breadcrumbs">
            <script type="text/javascript">
                try {
                    ace.settings.check('breadcrumbs', 'fixed')
                } catch (e) {
                }
            </script>

            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a th:href="@{/admin/toIndex}">首页</a>
                </li>

                <li>
                    <a th:href="@{/admin/toCategory}">分类</a>
                </li>
                <li class="active">新增</li>
            </ul><!-- /.breadcrumb -->
        </div>

        <div class="page-content" >

            <div class="page-content-area">

                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <h3 class="header smaller lighter blue">书籍分类信息</h3>
                        <div class="table-header lighter">
                            》
                        </div>

                        <!--表单-->
                        <form class="form-horizontal" id="validation-form" th:method="post" th:action="@{/admin/saveCategory}">
                            <table class="mdui-table">
                                <thead>
                                <tr>
                                    <th>输入以下资源权限信息</th>
                                    <th></th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td style="text-align: right">书籍分类名:</td>
                                    <td><input type="text" name="name" id="name"
                                               class="col-xs-12 col-sm-6"/></td>
                                </tr>
<!--                                <tr>-->
<!--                                    <td style="text-align: right">优先级:</td>-->
<!--                                    <td><input type="text" name="priority" id="priority"-->
<!--                                               class="col-xs-12 col-sm-6"/></td>-->
<!--                                </tr>-->
                                </tbody>
                            </table>
                            <input type="text" name="priority" id="priority" value="0" hidden/>
                            <div style="margin-top: 20px;"></div>

                            <div class="col-xs-4"></div>
                            <div class="">
                                <button class="btn btn-info" type="submit">
                                    <i class="ace-icon fa fa-check bigger-110"></i>
                                    新增
                                </button>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <button class="btn" type="reset">
                                    重置
                                    <i class="ace-icon fa fa-undo bigger-110"></i>
                                </button>
                            </div>

                        </form>
                    </div>

                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.page-content-area -->
    </div><!-- /.page-content -->
</div><!-- /.main-content -->

<div th:replace="_fragment::footer"></div>

<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
    <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
</a>
</div><!-- /.main-container -->


<!--引入js	-->
<th:block th:replace="_fragment::script"></th:block>

</body>
</html>
